
TRIGGER PROCEDURE FOR CREATE OF IN_MSTR.

{mfdeclre.i }

HK:
do:
    if not can-find ( first dt_mstr where dt_table = "in_mstr" and dt_type = "ADD" ) then leave HK.
    
    for first dt_mstr no-lock where dt_table = "in_mstr" and dt_type = "ADD" :
    
        run CreateDthist(input dt_table, input dt_field, input dt_type, input "", input "", 
            input recid(in_mstr), input in_mstr.in_part, input in_mstr.in_site, input "", input "",
            input "", input "", input "", input "") .
        
    end.
end.

{hkdttrans.i}
